<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="__PUBLIC__/Css/manager.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript">
        $(document).ready(function(){
			$('table tr').hover(function(){
				$(this).addClass('hover');
			},function(){
				$(this).removeClass('hover');
			});
        })
    </script>
</head>
<body>
<div>
	<h2>留言列表 </h2>
    <div>
        <table cellspacing="0" border="0">
            <tr class="title">
                <th>ID</th>
                <th>客户昵称</th>
                <th>留言内容</th>
                <th>留言IP</th>
                <th>留言时间</th>
                <th>操作</th>
            </tr>
            <volist name="list" id="vo">
                <tr>
                    <td>{$vo["id"]}</td>
                    <td>{$vo["customname"]}</td>
                    <td>{$vo["content"]|substr=###,0,80}</td>
                    <td>{$vo["createip"]}</td>
                    <td>{$vo["createtime"]|date="Y-m-d H:i:s",###}</td>
                    <td>
                        <a href="__APP__/Message/view/id/{$vo['id']}">回复</a>
                        <br>
                        <a href="__APP__/Message/delete/id/{$vo['id']}">删除</a>
                    </td>
                </tr>
            </volist>
        </table>
        <div align="right">{$page}</div>
    </div>
</div>
</body>
</html>